package com.example.meeting.socket.pojo;

public enum MessageType {

    PING("ping", "PING"),//客户端用来维持socket连接
    PONG("pong", "PONG"),//服务端收到ping后响应
    ENTER("enter", "进入会议"),
    OFFER("offer", "发送offer"),
    ANSWER("answer", "发送answer"),
    CANDIDATE("candidate", "发送candidate");

    private String type;
    private String remark;//备注
    MessageType(String type, String remark) {
        this.type = type;
        this.remark = remark;
    }
}
